// 1.引入重置样式表
require('../../assets/css/reset.css')
// 2.引入常态化样式表
require('../../assets/css/normalize.css')
// 3.引入公共样式
require('../../assets/css/common.css')
// 4.引入当前页样式
require('./ad.less');

//引入js模块
const dom = require('../../utils/dom.js')


//页面加载时
window.addEventListener("DOMContentLoaded",function(){
    //倒计时
    let num = 5;
    this.setInterval(function(){
        num--;//每秒减少
        dom.get("#time").textContent=num;
        if(num===0){
            location.href="login.html"
        }
    },1000)


})